package models.domain;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: kristborga
 * Date: 5.5.2013
 * Time: 13:24
 * To change this template use File | Settings | File Templates.
 */
public class Baekur {
    int afangi_id;
    String heiti;
    String hofundur;
    String utgafa;
    String utgefandi;
    List<Baekur> heitiHofundur;

    public Baekur(int afangi_id, List<Baekur> heitiHofundur) {
        this.afangi_id = afangi_id;
        this.heitiHofundur = heitiHofundur;

    }
    public Baekur(String heiti, String hofundur){
        this.heiti = heiti;
        this.hofundur = hofundur;
    }

    public Baekur(String heiti, String hofundur, String utgafa, String utgefandi) {
        this.heiti = heiti;
        this.hofundur = hofundur;
        this.utgafa = utgafa;
        this.utgefandi = utgefandi;
    }

    public int getAfangi_id() {
        return afangi_id;
    }

    public void setAfangi_id(int afangi_id) {
        this.afangi_id = afangi_id;
    }


    public String getHeiti() {
        return heiti;
    }

    public void setHeiti(String heiti) {
        this.heiti = heiti;
    }

    public String getHofundur() {
        return hofundur;
    }

    public void setHofundur(String hofundur) {
        this.hofundur = hofundur;
    }

    public List<Baekur> getHeitiHofundur() {
        return heitiHofundur;
    }

    public void setHeitiHofundur(List<Baekur> heitiHofundur) {
        this.heitiHofundur = heitiHofundur;
    }

    public String getUtgafa() {
        return utgafa;
    }

    public void setUtgafa(String utgafa) {
        this.utgafa = utgafa;
    }

    public String getUtgefandi() {
        return utgefandi;
    }

    public void setUtgefandi(String utgefandi) {
        this.utgefandi = utgefandi;
    }
}
